package day02;

import java.util.ArrayList;

public class Demo04 {
    public static void main(String[] args) {
        ProxyList<String> list = new ProxyList<>(new ArrayList<>());
        list.add("Jetty");
        list.add("Tom");
        list.add("John");
        System.out.println(list);
        int index = list.indexOf("Tom");
        System.out.println(index);
    }
}
